package com.auth.manage.plugin.domain.entity.convertor;

import com.auth.manage.common.product.api.response.ProductInfo;
import com.auth.manage.plugin.domain.entity.Plugin;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;
import org.mapstruct.factory.Mappers;

@Mapper(nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ProductConvertor {
    ProductConvertor INSTANCE = Mappers.getMapper(ProductConvertor.class);

    ProductInfo do2VO(Plugin product);
}
